package com.program.houai.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;

/**
 * @version v1.0
 * @ProjectName: EOrder-master
 * @ClassName: SysCodeVO
 * @Description: TODO(一句话描述该类的功能)
 * @Author: Topcheer
 * @Date: 2024/8/25 20:22
 */
@Getter
@Setter
public class SmsCodeVO {

    @ApiModelProperty(name = "phone手机号码")
    @Pattern(regexp = "\\d{11}$", message = "手机号码必须为11位数字")
    private String phone ;

    @ApiModelProperty(name = "短信码")
    private String code ;
}
